<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 6.4rem;
            margin: 0 auto;
            padding-bottom: 5%;
        }  
        .box2{
            text-align: center;
        }
    </style>
    <link rel="stylesheet" href="css/reset.css">

</head>
<body>
    <div class="box">
        <embed id="em" src="" type="application/pdf" width="100%" height="1000">
    </div>
    <div class="box2">
        <a href="subject.html">退出</a>
    </div>
	<script src="js/index.js"></script>
    <script>
        var value = window.localStorage.getItem( "data" );
        let em = document.querySelector('#em')
        em.src= value
    </script>
</body>
</html>